#Roguelike #Turn-based #Card Game
Summary
Made With
Life At Work
#2D
LIFE AT WORK is a turn-based card game
with roguelike elements. The target of the
game is to defeat the opponent by using
different EVENT CARDS that have different
DURATIONS to earn more SCORES than the
enemy.
IDEA
After playing some Roguelike games, I found them really
appealing and interesting. Players must be careful taking
every step in the game (or they’ll lose), but they can deal
a great amount of damage to enemies if operated properly
after a while. Therefore, I decided to design a game with
Roguelike elements.
I didn’t play turn-based games or card games a lot, but
I think it would be a good idea to challenge myself and
design a turn-based card game.
Character Design
Accountant SalespersonProgrammerLawyer
Character Passive Effect Icons
Comment DemandLogic SpecialSkill
Iteration - UI
Draft: UI_V1
Final UI
Draft: UI_V2
Draft: UI_V3
Reason for Abandoned:Doesn’t fit
the theme of Work (Too Energetic)
Reason for Abandoned: No enough
place for Card Details.
Reason for Abandoned:Unattractive,
Too Simple
Button to switch to full screen Character Score Icons
Currency iconsA box showing the number of
cards remaining
Buttons Left/Right
Background box for pop-up tips
UI Design
Mechanism – Part 1
Before each battle, players can choose a character from the 4 occupations listed: Programmer,
Salesperson, Accountant, Lawyer.
The EVENT CARDS owned by a player have five different types: Interaction, Observation,
Ponder, Expression, Special. Special card is given by the system automatically when starting a
game, and a player can have only one special card at a time. Each card have a Duration from 1
to 12 hours. By selecting character of different occupations, the effect of a card differs.
Each card can only be used once in one battle, and one player can only use one card every
round. When both sides use all of their cards, the side with more scores wins.
Character avatar
frame
Score Icons
Background frame showing
used cards
UI Design
Mechanism – Part 2
After each battle with the enemy, players would get a certain amount of tokens. Tokens can be
used to upgrade or purchase new EVENT CARDS. Players would also have a chance to change their
characters occupation again. The game have only Endless Mode currently.
Coding
-
Animations/save game
//All codes are based on C#.
Uses a format similar to XML to save games.
Using IEnumerator for Animations.
//Uses “Lerp” and “Cos” function to create a slow-in
and slow-out effect.
//This IEnumerator is in the super class “LWElements”
for most classes in this project.
//LWElements inherits MonoBehaviour.
//“GetTag(string str, string tag)” is a method that
returns a string surrounded by a certain tag in the first
string parameter.
//Int(string str) converts a string into int.
//There are also methods not shown in this page like
“SaveCard”, “LoadCharacter, “LoadPLayer” etc.
Uses StreamReader and StreamWriter class to
read & write files.
Saves the coroutine of each attribute’s animation in a
private variable, so when an animation is called when the
former animation is not completed, the former one can be
stopped.
Iteration - Mechanism
Version 1 -2
These two versions are too similar to other turn-based card games, and
wasn’t attracting at all.
Besides, in these versions, characters attack each others, which doesn’t fit
the theme “working” as well.
The final version included the “score” system and the “occupation” system, making
the game more innovative and attracting.